﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Wap/Agent/AgentSite.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ZLCMS.Web.Wap.Agent.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
	#mypage .ui-input-text{ margin:0;box-shadow:none; border:none; background:none;}
	#mypage .ui-input-text input{margin-top:6px;}.msg-box {float: right;margin-top: -23px; position: relative;}
    .YZM .msg-box{ right:30px;}
    </style>

    <link rel="stylesheet" href="/wap/lib/validator-0.7.0/css/jquery.validator.css" />
    <script type="text/javascript" src="/wap/lib/validator-0.7.0/jquery.validator.js"></script>
    <script type="text/javascript" src="/wap/lib/validator-0.7.0/local/zh_CN.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pages" runat="server">

<div data-role="page" id="mypage">

	<div data-role="header">
	</div><!-- /header -->

	<div role="main" class="ui-content">
        
        <!--s login-->
        <div id="login">
        	<div class="logo"><img src="images/logo.png"><h2>业务管理系统</h2></div>
        	<form command="User.Login" id="loginForm">
            	<div class="box">
                    <div class="bg_logo">
                        <div class="left"><img src="images/logo_name.png"></div>
                        <div class="right"><input name="UserAccount" command-param="UserAccount" type="text" placeholder="请输账号" data-rule="required;"></div>
                    </div>
                    <div class="bg_logo">
                        <div class="left"><img src="images/logo_password.png"></div>
                        <div class="right"><input name="Password" command-param="Password" type="password" placeholder="请输密码" data-rule="required;password"></div>
                    </div>
                    <div class="bg_logo YZM"><div class="left"><img src="images/login_icon3.png"></div>
                    <div class="right">
                    <div  style=" float: left; width: 60%;">
                    <input name="CheckCode" type="text" placeholder="请输验证码" command-param="CheckCode" data-rule="required;">
                    </div>
                    <div style="float:right;width:38%;margin-top:2px"><img onclick="this.src=this.src + '?';" style="float: right;" src="/Tools/CheckCode.aspx" alt="看不清，请点击我！" id="imgCode"></div>
                    </div>
                    </div>

                </div>
                <div class="button">
                	<input type="button" value="登 录" data-shadow="false" data-theme="o"  onclick="executeFormCommonCommand('loginForm', loginOk)">
                </div>
            </form>
        </div>
        <!--e login-->
        
  	</div><!-- /content -->

    <div data-role="footer" data-position="fixed" data-tap-toggle="false">  
    </div><!-- /footer -->
    
</div><!-- /page -->

<script type="text/javascript">
    function loginOk() {
        showTips("登录成功！", 500, function () {
            var url = '<%=Request["from"] %>';
            if (url == '') {
                url = "/wap/agent/default.aspx";
            }
            location.href = url;
        });
    }
</script>
</asp:Content>
